package com.fulihui.wgj.auth.service;

import com.fulihui.wgj.facade.request.event.AuthNotifyRequest;
import com.fulihui.wgj.facade.request.event.EventNotifyRequest;

/**
 * @author: JY
 * @date: 2018/6/20 16:37
 */
public interface WxEventService {

    /**
     * 授权通知
     * @param request
     * @return
     */
    boolean authNotify(AuthNotifyRequest request);

    /**
     * 事件通知
     * @param request
     * @return
     */
    boolean eventNotify(EventNotifyRequest request);

    /**
     * 微信开发平台授权Url
     * @param loginId
     * @return
     */
    String preAuthUrl(String loginId);

    /**
     * 认证回调地址
     * @param authCode
     * @return
     */
    boolean authCallBack(String authCode);

}
